package cn.itcast.user.mapper;

import cn.itcast.user.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    /**
     * 根据id查询员工
     * @param id
     * @return
     */
//    @Select("select * from tb_user where id = #{id}")
    User getById(Integer id);
}
